package delayQueue;

import java.util.concurrent.DelayQueue;
import java.util.concurrent.Delayed;

public interface DelayQueueService<T extends Delayed> {
    DelayQueue<T> addDelayQueue(String queueName);
    void addElements(String queueName,T...t);
    void addElement(String queueName,T t);
    DelayQueue<T> getDelayQueue(String queueName);
    void exeDelayTask();
}
